﻿#include "as_mysql_config.h"

as::db::MysqlConnConfig::MysqlConnConfig(const std::string_view &databases, const std::string_view &host /*= "localhost"*/, const std::string_view &user /*= "root"*/, const std::string_view &pw /*= ""*/, int port /*= 3306*/, bool reconn /*= true*/)
	:host_(host), user_(user), pw_(pw),
	port_(port), databases_(databases), auto_reconnect_(reconn)
{
}
